package com.hsteach.web.controller.wage.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.hsteach.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * 填写基本信息
 *
 * @author fanxquer
 * @date 2023-07-13
 */
@ApiModel(value = "AddBaseInfoDto", description = "填写基本信息")
@Data
public class AddBaseInfoDto implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 模版名称
     */
    @ApiModelProperty(value = "模版名称", required = true)
    @Excel(name = "模版名称")
    private String releaseName;

    /**
     * 模板id
     */
    @ApiModelProperty(value = "模板id", required = true)
    @Excel(name = "模板id")
    private Long templateId;

    /**
     * 工资所属年月
     */
    @ApiModelProperty(value = "工资所属年月 yyyy-MM", required = true)
    @JsonFormat(pattern = "yyyy-MM")
    @Excel(name = "工资所属年月")
    private Date wageDate;

}
